package com.ljh.mall.product.feign;

import com.ljh.common.dto.SkuHasStockDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2022/12/17 21:08
 * @description：库存
 * @modified By：
 * @version: $
 */
@FeignClient("mall-ware")
public interface WareSkuFeginService {

    @PostMapping("/ware/waresku/hasStock")
    List<SkuHasStockDto> getSkusHasStock(@RequestBody List<Long> skuIds);
}
